/**
 *
 */
package cc.xwolf.java8.lambda.demo2;

/**
 * @author pingxu
 *
 */
public class PersonDemo1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		final PersonFactory<Person> personFactory = Person::new;
		final Person person = personFactory.create("zuaa", "aaa");
		System.out.println(person);
	}

}
